c658fbbb51a876a0a4f2ea2e84d44ccc0d1948a3,compiler/frontend/src/org/jetbrains/jet/lang/resolve/lazy/ScopeProvider.java,ScopeProvider,getFileScopeForDeclarationResolution,#JetFile#,48
Before Change
WritableScope writableScope = new WritableScopeImpl(
JetScope.EMPTY, packageDescriptor, RedeclarationHandler.DO_NOTHING, "File scope for declaration resolution");
writableScope.importScope(resolveSession.getPackageDescriptorByFqName(FqName.ROOT).getMemberScope());
List<JetImportDirective> importDirectives = Lists.newArrayList(file.getImportDirectives());
resolveSession.getModuleConfiguration().addDefaultImports(importDirectives);
ImportsResolver.processImportsInFile(true, writableScope, importDirectives,
resolveSession.getPackageDescriptorByFqName(FqName.ROOT).getMemberScope(),
After Change
WritableScope writableScope = new WritableScopeImpl(
JetScope.EMPTY, packageDescriptor, RedeclarationHandler.DO_NOTHING, "File scope for declaration resolution");
writableScope.importScope(resolveSession.getPackageDescriptorByFqName(FqName.ROOT).getMemberScope());
List<JetImportDirective> importDirectives = Lists.newArrayList();
resolveSession.getModuleConfiguration().addDefaultImports(importDirectives);
importDirectives.addAll(file.getImportDirectives());
ImportsResolver.processImportsInFile(true, writableScope, importDirectives,
resolveSession.getPackageDescriptorByFqName(FqName.ROOT).getMemberScope(),
resolveSession.getModuleConfiguration(), resolveSession.getTrace(),